import { requestData } from "../request.js";
//客户来源列表
export const getCustomerSourceList = (params, success_callback, error_callback) => {
    return requestData(params, 'GET', `/client/customerSourceList`, success_callback, error_callback);
};
//客户分级
export const getClientLevelList = (params, success_callback, error_callback) => {
    return requestData(params, 'GET', `/client/listClientLevel`, success_callback, error_callback);
};
//客户阶段
export const getClientStageList = (params, success_callback, error_callback) => {
    return requestData(params, 'GET', `/client/listClientStage`, success_callback, error_callback);
};
//新增客户
export const saveClient = (params, success_callback, error_callback) => {
    return requestData(params, 'POST', `/client/saveClient`, success_callback, error_callback);
};
//编辑客户
export const updateClient = (params, success_callback, error_callback) => {
    return requestData(params, 'POST', `/client/updateClient`, success_callback, error_callback);
};
//获取跟进方式
export const getFollowWayList = (params, success_callback, error_callback) => {
    return requestData(params, 'GET', `/followClient/followWayList`, success_callback, error_callback);
};
//客户列表
export const getClientVoList = (params, success_callback, error_callback) => {
    return requestData(params, 'POST', `/client/listClientVo`, success_callback, error_callback);
};
//客户详情
export const getClientVoDetail = (params, success_callback, error_callback) => {
    return requestData(params, 'GET', `/client/getClientById`, success_callback, error_callback);
};
//所有用户
export const getAllAccountList = (params, success_callback, error_callback) => {
    return requestData(params, 'POST', `/accounts/accountList`, success_callback, error_callback);
};
//新增跟进
export const saveFollowClient = (params, success_callback, error_callback) => {
    return requestData(params, 'POST', `/followClient/saveFollowClient`, success_callback, error_callback);
};
//获取提醒列表
export const getFollowRemindVOList = (params, success_callback, error_callback) => {
    return requestData(params, 'POST', `/client/listFollowRemindVO`, success_callback, error_callback);
};

